import { createApp } from 'vue';
import App from './App.vue';
import router from './router';

// 导入组件库
import naive from 'naive-ui';
import Layui from '@layui/layui-vue';
import '@layui/layui-vue/lib/index.css';


const app = createApp(App);

// 使用组件库
app.use(naive);
app.use(Layui);
app.use(router);

// 挂载应用
app.mount('#app');